<%@taglib  uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@taglib  uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<TABLE class="mainService">
    <TR>
        <TD colSpan=1>
            <TABLE class="table0" cellSpacing=0 cellPadding=0 align=center>
                <TR>
                    <TD class="td1"></TD>
                    <TD class="top"></TD>
                    <TD class="topright"></TD>
                </TR>
                <TR>
                    <TD class="middleleft" rowSpan=3></TD>
                    <TD bgcolor="#F0F0F0">
                        <center> <h4>Information Hotel</h4></center>

                    </TD>
                    <TD class="middleright" rowSpan=3></TD>
                </TR>
                <TR>
                    <TD class="middlecenter"></TD>
                </TR>
                <TR>
                    <TD  class="main">
                        <table width="100%" border="0"  >
                            <tr>
                                <td rowspan="7" width="280" height="200" valign="top">
                                    <img src="${hotelDTO.imagesUrl}" width="200" height="200"/>
                                </td>

                                <td height="20"><h8>Hotel Name</h8></td>
                    <td>
                        <font color="blue"> ${hotelDTO.hotelName}</font>

                    </td>
                </tr>
                <tr>
                    <td height="20"><h8>Email</h8></td>
        <td>
            ${hotelDTO.email}
        </td>
    </tr>
    <tr>
        <td height="20"><h8>Website</h8></td>
<td>
    <a href="http://www.${hotelDTO.website}" target="blank">   ${hotelDTO.website}</a>
</td>
</tr>
<tr>
    <td height="20"><h8>Rate</h8></td>

<td>
    <c:if test="${hotelDTO.rate==5}">
        <font color="blue" size="5"> *****</font>
    </c:if>
    <c:if test="${hotelDTO.rate==4}">
        <font color="blue" size="5"> ****</font>
    </c:if>
    <c:if test="${hotelDTO.rate==3}">
        <font color="blue" size="5"> ***</font>
    </c:if>
    <c:if test="${hotelDTO.rate==2}">
        <font color="blue" size="5"> **</font>
    </c:if>
    <c:if test="${hotelDTO.rate==1}">
        <font color="blue" size="5"> *</font>
    </c:if>
</td>
</tr>
<tr>
    <td height="20"><h8>Phone</h8></td>
<td>
    ${hotelDTO.phone}
</td>
</tr>
<tr>
    <td height="20"><h8>City</h8> </td>
<td>${hotelDTO.city}
</td>
</tr>
<tr>
    <td height="20"><h8>Address</h8></td>
<td>
    ${hotelDTO.address}

</td>
</tr>
<tr>

    <td colspan="5">
        <br>
        <font color="blue" size="4"> ${hotelDTO.hotelName}  hotel</font>
        <br>
        <p> ${hotelDTO.description}</p>

    </td>
</tr>

</table>
</TD>
</TR>
<TR>
    <TD class="bottom"><IMG border=0 alt="" src="img/pod_main_bottom_left.gif"></TD>
    <TD class="bottomright"><P align=right>&nbsp;</P></TD>
    <TD class="bottomleft"><IMG border=0 alt="" src="img/pod_main_bottom_right.gif"></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<br>
<TABLE class="mainService">
    <TR>
        <TD colSpan=1>
            <TABLE class="table0" cellSpacing=0 cellPadding=0 align=center>
                <TR>
                    <TD class="td1"></TD>
                    <TD class="top"></TD>
                    <TD class="topright"></TD>
                </TR>
                <TR>
                    <TD class="middleleft" rowSpan=3></TD>
                    <TD bgcolor="#F0F0F0">
                        <center> <h4>Information Other Hotel</h4></center>

                    </TD>
                    <TD class="middleright" rowSpan=3></TD>
                </TR>
                <TR>
                    <TD class="middlecenter"></TD>
                </TR>
                <TR>
                    <TD  class="main">
                        <table>
                            <tr>
                                <td>
                                    <logic:present name="listOrtherhotel">
                                        <logic:iterate id="list" name="listOrtherhotel">
                                            <div style="float:left;padding-right:20px;padding-left:40px;">
                                                <a href="hotel.do?action=hotelDetail&id=<bean:write name="list" property="hotelId"/>">
                                                    <img src="<bean:write name="list" property="imagesUrl"/>" width="150" height="150"><br>
                                                <bean:write name="list" property="hotelName"/></a>
                                            </div>
                                        </logic:iterate>
                                    </logic:present>
                                </td>
                            </tr>
                        </table>
                    </TD>
                </TR>

                <TR>
                    <TD class="bottom"><IMG border=0 alt="" src="img/pod_main_bottom_left.gif"></TD>
                    <TD class="bottomright"><P align=right>&nbsp;</P></TD>
                    <TD class="bottomleft"><IMG border=0 alt="" src="img/pod_main_bottom_right.gif"></TD>
                </TR>
            </TABLE>
        </TD>
    </TR>
</TABLE>